//
// Created by Tony on 2024/1/14.
//

#ifndef PARSER_TERNARY_EXPR_H
#define PARSER_TERNARY_EXPR_H

#include "../../AstList.h"

namespace Parser {

class TernaryExpr : public AstList {
    string nodeName;

public:
    explicit TernaryExpr(const vector<shared_ptr<Ast>>& children) : AstList(children) {
        nodeName = __func__;
    }

    int32_t accept(Compiler::Visitor* visitor) override;
};

} // namespace Parser

#endif // PARSER_TERNARY_EXPR_H
